package com.cp.repository;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:config.properties")
public class Config {
	@Value("${com.json.root}")
	private String json;

	@Value("${com.json.adjudgment.word}")
	public String adjudgmentWordJson;

	@Value("${com.json.sapmle.entry}")
	public String sampleEntryJson;

	@Value("${index.path}")
	public String indexPath;

	@Value("${com.json.class.relation}")
	public String classRealtionJson;
	public String getJson() {
		return json;
	}

	public void setJson(String json) {
		this.json = json;
	}

	public String getAdjudgmentWordJson() {
		return adjudgmentWordJson;
	}

	public void setAdjudgmentWordJson(String adjudgmentWordJson) {
		this.adjudgmentWordJson = adjudgmentWordJson;
	}

	public String getSampleEntryJson() {
		return sampleEntryJson;
	}

	public void setSampleEntryJson(String sampleEntryJson) {
		this.sampleEntryJson = sampleEntryJson;
	}

	public String getIndexPath() {
		return indexPath;
	}

	public void setIndexPath(String indexPath) {
		this.indexPath = indexPath;
	}

	public String getClassRealtionJson() {
		return classRealtionJson;
	}

	public void setClassRealtionJson(String classRealtionJson) {
		this.classRealtionJson = classRealtionJson;
	}
}
